<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="subscription_old.aspx.cs" Inherits="Doctor_subscription" MasterPageFile="~/MainMaster.master" Title="Featured Doctor" %>
<%@ MasterType VirtualPath="~/MainMaster.master" %>
<%@ Register Src="../includes/DoctorMenu.ascx" TagName="DoctorMenu" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainTable" runat="server">    

<table width="549"  border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<uc1:DoctorMenu ID="DoctorMenu1" runat="server" />
</td>
</tr>
          <tr>            
            <td class="bodytxt" align="left">            
            <asp:Label ID="lbl_drbid" runat="server" CssClass="page-heading" Text="Featured Doctor" Font-Underline="false" Font-Size="20px"></asp:Label>
            </td></tr>
    <tr>
        <td align="center">
            &nbsp;</td>
    </tr>
    <tr><td align="center">
                             
                             </td></tr>
    <tr>
        <td align="left">
            &nbsp;</td>
    </tr>
    <tr>
            <td class="bodytxt" align="left">
            <table width="549" border="0" cellpadding="0" cellspacing="0" bgcolor="#f1f1f1">            
              <tr>
                <td style="width:9px; height: 7px;" class="bodytxt" align="center"><img src="../images/grey-curver-inside-left.gif" alt="" width="9" height="8" /></td>
                <td class="bodytxt" style="border-top:1px solid #E0E0E0; width:531px; height: 7px;" align="center"><img src="../images/spacer.gif" alt="" width="8" height="1" /></td>
                <td style="width:9px; height: 7px;" class="bodytxt" align="center"><img src="../images/grey-curver-inside-right.gif" alt="" width="9" height="8" /></td>
              </tr>
               <tr>
                <td class="bodytxt" style="border-left:1px solid #E0E0E0;"><img src="../images/spacer.gif" alt="" width="8" height="1" /></td>
                <td class="bodytxt">
                
                  <table width="100%" border="0" align="center" cellpadding="2" cellspacing="2">
                   <%if (lbl_fail.Visible)
                     { %><tr>
                      <td colspan="3" align="left" style="height: 20px" class="blue-heading" >                                            
                      <center>
                          <asp:Label id="lbl_fail" runat="server" Visible="False" ForeColor="Red"></asp:Label>
                      </center>
                      </td></tr>                          
                      <%}%>
                      <!-- 
                      <tr class="normalblack_12">
                          <td align="center" colspan="3">
                          
                          <a href="whatisfeatureddoc.aspx">What is a Featured Doctor?</a>
                          
                          </td>
                      </tr>
                      -->                                     
                          
                      <!-- BIDDING HTML CONTROLS REMOVED FROM HERE -->
                      <asp:TextBox ID="txt_lvl" runat="server" MaxLength="50" Width="80px" Visible="False" CssClass="inp"></asp:TextBox><asp:TextBox ID="txtBid" runat="server" CssClass="inp" Width="50px" Visible="false"></asp:TextBox><tr
                          class="normalblack_12">
                          <td style="width: 146px">
                              &nbsp;<strong>Select Speciality</strong></td>
                          <td>
                              :</td>
                          <td align="left" style="width: 355px">
                             <asp:DropDownList ID="ddl_spec" runat="server" Width="250px" OnSelectedIndexChanged="ddl_spec_SelectedIndexChanged" AutoPostBack="True" CssClass="inp">
                             </asp:DropDownList>
                             
                             <asp:DropDownList ID="ddl_level" runat="server" Width="100px" AutoPostBack="false" Visible="false" OnSelectedIndexChanged="ddl_level_SelectedIndexChanged" CssClass="inp">
                             </asp:DropDownList></td>
                      </tr>
                      <tr class="normalblack_12">
                          <td align="center" colspan="3">
                      <asp:Label ID="lbl_err" runat="server" ForeColor="Red" Text="Bid must be raised in multiples of 5"
                                 Visible="False"></asp:Label></td>
                      </tr>
                      <tr
                          class="normalblack_12">
                          <td style="width: 146px">
                          </td>
                          <td>
                          </td>
                          <td align="left" style="width: 355px">
                              <asp:RadioButtonList id="radioSubscription" runat="server">
                              <asp:ListItem Value="20">Monthly ($20) - Sign up now and get the first month free!</asp:ListItem>
                              <asp:ListItem Value="200">Annual* ($200)</asp:ListItem>
                          </asp:RadioButtonList><asp:RequiredFieldValidator ID="reqSubscription" runat="server" ControlToValidate="radioSubscription" ErrorMessage="Please select any one subscription">Please select any one subscription</asp:RequiredFieldValidator><br />
                              &nbsp; &nbsp; * Get 2 Months free!  And for a limited time get a free Airline Companion Ticket!  Click <a href="promotermsconditions.aspx" target="_blank">here</a> for details.</td>
                      </tr>
                      <tr class="normalblack_12">
                          <td colspan="3" align="left">
                              <strong style="color: blue">Premium Features:</strong></td>
                         <td></tr>
                          <tr class="normalblack_12"><td style="width: 146px">
                              <strong>Photo</strong></td>
                         <td>
                             :</td>
                         <td align="left" style="width: 355px">
                             <asp:FileUpload ID="fupl_photo" runat="server" Width="300px" /><br />
                             Max. file size: 500kb
                             </td>
                         </tr>
                          <tr class="normalblack_12"><td style="width: 146px">
                              <strong>Personal Doctor Statement</strong></td>
                         <td>
                             :</td>
                         <td align="left" style="width: 355px">
                             <asp:TextBox ID="txt_profdesc" runat="server" TextMode="MultiLine" Width="300px" CssClass="inp"></asp:TextBox><br />
                             Max. length of text: 1500 characters<br />
                             <asp:CustomValidator ID="CustomValidator1" runat="server" ClientValidationFunction="ChkLen"
                                 ControlToValidate="txt_profdesc" ErrorMessage="Text cannot exceed 1500 characters." Display="Dynamic"></asp:CustomValidator><br />
                             </td>
                         </tr>
                          <tr class="normalblack_12"><td style="width: 146px">
                              <strong>Website</strong></td>
                         <td>
                             :</td>
                         <td align="left" style="width: 355px">
                             <asp:TextBox ID="txt_web" runat="server" Width="300px" CssClass="inp"></asp:TextBox>
                             <br />
                             <asp:RegularExpressionValidator ID="regex_web" runat="server" ControlToValidate="txt_web"
                                 Display="Dynamic" ErrorMessage="Enter URL in correct format (http://www.abc.com)"
                                 ValidationExpression="http(s)?://([a-zA-Z0-9]+)[.{1}]([a-zA-Z0-9]+)[.{1}]([a-zA-Z0-9]+)"></asp:RegularExpressionValidator></td>
                         </tr>
                      <tr>
                          <td>
                          </td>
                          <td>
                          </td>
                          <td align="left" style="width: 355px">
                              &nbsp;</td>
                          <asp:RadioButtonList id="RadioButtonList1" runat="server"></asp:RadioButtonList></tr>
                      <tr>
                          <td align="center" colspan="3">
                              You will be directed to PayPal&reg; for payment.</td>
                      </tr>
                      <tr>
                          <td align="center" colspan="3">
                              All major credit cards accepted.
                          </td>
                      </tr>
                      <tr>
                          <td align="center" colspan="3">
                              By clicking <b>Submit</b>, you agree to the <a href="termsconditions.aspx" target="_blank">Terms &amp; Conditions</a> for Featured Doctors</td>
                      </tr>
                         <tr><td colspan="3" align="center"> 
                             <asp:ImageButton ID="btn_bid" runat="server" Height="21px" ImageUrl="../images/b-submit-inner.gif"
                                 OnClick="btn_bid_Click" Width="75px" />
                             <asp:Label ID="lbl_bid" runat="server" Text="Label" Visible="false"></asp:Label>
                             <asp:Label ID="lbl_initialamt" runat="server" Text="Label" Visible="False"></asp:Label></td>                                                                 
                                 </tr>
                         <tr><td colspan="3" align="center" style="height: 19px"></td></tr>
                  </table>
                </td>
                 <td class="bodytxt" style="border-right:1px solid #E0E0E0;"><img src="../images/spacer.gif" alt="" width="8" height="1" /></td>
        </tr>
        <tr>
            <td class="bodytxt"><img src="../images/grey-curver-inside-left-bot.gif" alt="" width="9" height="9" /></td>
            <td class="bodytxt" style="border-bottom:1px solid #E0E0E0;"><img src="../images/spacer.gif" alt="" width="8" height="1" /></td>
            <td class="bodytxt"><img src="../images/grey-curver-inside-right-bo.gif" alt="" width="9" height="9" /></td>
        </tr>
              </table>
              </td></tr></table>
              <script>
              function ChkLen(sender, args)
              {
                //alert(document.getElementById("txt_profdesc"));
                if(document.getElementById("<%=txt_profdesc.ClientID%>").value.length > 1500)
                {
                    args.IsValid = false;
                    return;
                }
                args.IsValid = true;
              }
              </script>
</asp:Content>